package gruppe7.tlrs;

public class Station {
    private final int stationID;
    private String name; //name according to nroute plan
    private String manager;
    private Integer zone; // the geographical zone of location
    private String comment;
    private String erectionDate; // the day the building was completed
    public Station(String stationName, Integer priceZone, int stationID) {
        this.stationID = stationID;
        name = stationName;
        zone = priceZone;
        comment = "";
        erectionDate = "";
        manager = "";
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getManager() {
        return manager;
    }

    public void setManager(String manager) {
        this.manager = manager;
    }

    public Integer getZone() {
        return zone;
    }

    public void setZone(Integer zone) {
        this.zone = zone;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public String getErectionDate() {
        return erectionDate;
    }

    public void setErectionDate(String erectionDate) {
        this.erectionDate = erectionDate;
    }

    public int getStationID() {
        return stationID;
    }

    
    public String toString() {
        return "Station [comment=" + comment + ", erectionDate=" + erectionDate
                + ", manager=" + manager + ", name=" + name + ", zone=" + zone
                + "]";
    }
}
